package com.punch.common.vo.course.classes;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * CoursesForAppVO-家长端可选课程列表 展示vo
 *
 * @author xiaol
 * @version 1.0.0
 * @since 2020/7/21
 */
@Data
public class AppCourseClassPageVO implements Serializable {

    @ApiModelProperty(name = "classId", notes = "班级id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long courseClassId;


    @ApiModelProperty(name = "courseImg", notes = "课程封面")
    private String courseImg;

    /**
     * 班级名称
     */
    @ApiModelProperty(name = "courseClassName", notes = "班级名称")
    private String courseClassName;

    /**
     * 课程类目名称
     */
    @ApiModelProperty(name = "courseCategoryName", notes = "课程类目名称")
    private String courseCategoryName;


    /**
     * 已报名人数
     */
    @ApiModelProperty(name = "signUpNumber", notes = "已报名人数")
    private Integer signUpNumber;

    /**
     * 最大人数
     */
    @ApiModelProperty(name = "stuNoMax", notes = "最大人数")
    private Integer stuNoMax;

    /**
     * 课程单价
     */
    @ApiModelProperty(name = "courseHourPrice", notes = "课程单价,单位分")
    @JsonIgnore
    private Integer courseHourPrice;

    /**
     * 课时数
     */
    @ApiModelProperty(name = "courseHourCount", notes = "课时数")
    @JsonIgnore
    private Integer courseHourCount;
    /**
     * 课程总价
     */
    @ApiModelProperty(name = "courseHourAmount", notes = "课程总价")
    private Integer courseHourAmount;


    /**
     * 课程总价
     */
    @ApiModelProperty(name = "goodsAmount", notes = "教具总金额,goodsFlag为1有效")
    @JsonIgnore
    private Integer goodsAmount;

}
